using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SU.DomainModel.Entity
{
    public partial class User
    {
        public string ID { get; set; }

        [Required(ErrorMessage = "*")]
        public string RoleID { get; set; }
        public string DepartmentFunction { get; set; }
        [Required(ErrorMessage = "*")]
        public string UserName { get; set; }
        public string Password { get; set; }
        [Required(ErrorMessage = "*")]
        public string ChineseName { get; set; }
        public string DepartmentID { get; set; }
        public string Tel { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string Fax { get; set; }
        public string CustomerID { get; set; }
        public Nullable<int> Flag { get; set; }
        public Nullable<System.DateTime> CreateDate { get; set; }
    }
}
